package com.sc.nft.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.sc.nft.sup.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 分享购活动
 * </p>
 *
 * @author ligen
 * @since 2023-12-11
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_mall_activity_share")
@ApiModel(value="ScMallActivityShare对象", description="分享购活动")
public class MallActivityShare extends SuperEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "营销活动ID")
    private Long activityId;

    @ApiModelProperty(value = "有效分钟")
    private Integer validMinute;

    @ApiModelProperty(value = "最低订单数量")
    private Integer minOrderNum;

    @ApiModelProperty(value = "团长奖励比例")
    private BigDecimal rewardPercentage;

    @ApiModelProperty(value = "详细规则")
    private String detailedRules;

    @ApiModelProperty(value = "藏品Id")
    private Long collectionId;

    @ApiModelProperty(value = "上架状态")
    private Boolean status;

    @ApiModelProperty(value = "排序字段")
    private Integer sort;
}
